package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the per_cwa_aty database table.
 * 
 */
@Entity
@Table(name="per_cwa_aty")
@NamedQuery(name="PerCwaAty.findAll", query="SELECT p FROM PerCwaAty p")
public class PerCwaAty implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int atyid;

	private String atydd;

	private String atyname;

	private String atynr;

	private String atyry;

	private Timestamp atytime;

	private String atyxz;

	private String atyyy;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	public PerCwaAty() {
	}

	public int getAtyid() {
		return this.atyid;
	}

	public void setAtyid(int atyid) {
		this.atyid = atyid;
	}

	public String getAtydd() {
		return this.atydd;
	}

	public void setAtydd(String atydd) {
		this.atydd = atydd;
	}

	public String getAtyname() {
		return this.atyname;
	}

	public void setAtyname(String atyname) {
		this.atyname = atyname;
	}

	public String getAtynr() {
		return this.atynr;
	}

	public void setAtynr(String atynr) {
		this.atynr = atynr;
	}

	public String getAtyry() {
		return this.atyry;
	}

	public void setAtyry(String atyry) {
		this.atyry = atyry;
	}

	public Timestamp getAtytime() {
		return this.atytime;
	}

	public void setAtytime(Timestamp atytime) {
		this.atytime = atytime;
	}

	public String getAtyxz() {
		return this.atyxz;
	}

	public void setAtyxz(String atyxz) {
		this.atyxz = atyxz;
	}

	public String getAtyyy() {
		return this.atyyy;
	}

	public void setAtyyy(String atyyy) {
		this.atyyy = atyyy;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

}